CES Help Document > Discord Bots > Discord Website Status Bot

Discord Website Status Bot

CES Discord Website Status Bot

What It Does

  • The CES Discord Website Status Bot is designed to monitor your website and display its current status directly in your Discord server using live channel names to keep your community informed.

Key Features

  • πŸ” Real-Time Website Checks

    Checks your website’s availability at set intervals.

  • πŸ”” Channel Name Status Updates

    Automatically updates a specified voice/text channel with UP or DOWN indicators.

  • βš™οΈ Custom Intervals

    Choose how often the bot checks your site (default: 60 seconds).

  • πŸ“ƒ Supports Multiple URLs

    Monitor multiple websites, each with its own channel.

Installation & Setup

  1. Requirements
    • Make sure you have:
    • Node.js installed
    • A VPS or host where the bot can run 24/7

2. Install Dependencies

npm install discord.js dotenv

3. Configure Environment

  • Open .env file in the root folder and add yout info

    BOT_TOKEN=your-bot-token-here
    CHANNEL_ID=your_discord_channel_id_here
    

    4. Edit your bot.js

    In your bot.js file, find the urls array and add the websites you want to monitor:

    const urls = [
      { name: "Crazy Eyes Studio", url: "https://crazyeyestudio.com" },
      { name: "FiveM Store", url: "https://fivem.crazyeyestudio.com" },
      { name: "Docs", url: "https://dochelp.crazyeyestudio.com" }
    ];
    

    Each entry must have:

  • name: What will show in the channel
  • url: The full web link to check

Example Output

If the site is up:

🟒 Crazy Eyes Studio is Online

If the site is down:

πŸ”΄ Crazy Eyes Studio is Down

Required Permissions

Step 1: Invite the Bot to Your Server

  • Generate a bot invite link with the following OAuth2 scopes:

  • bot

  • applications.commands

  • Required Bot Permissions:

βœ… Manage Channels – so it can rename a channel to reflect website status

βœ… Send Messages – for logging status checks or errors

βœ… Read Message History – in case logging or replies are added later

❗ Do not give Administrator unless necessary for your setup

Troubleshooting

  • Bot Not Updating the Channel?
  • Make sure your bot is online
  • Confirm it has "Manage Channels" permission
  • Double-check that CHANNEL_ID is correct
  • 🚫 Bot always says site is down?
  • The site may block bots or be unreachable
  • Try switching between http:// and https://
  • Test using https://example.com or https://google.com

🀝 Need Help?

Check this page first. Still need help?

πŸ“¨ Submit a Help Request


Suggest an edit

Review this page

crazyeyes29